<!-- 【首页】-->
<template>
  <div>
    <div class="text-[20px] text-primary"><router-link to="/index"> 首页 </router-link></div>
    <div class="text-success"><router-link to="/forms"> 表单管理/表单列表 </router-link></div>
    <div><router-link to="/forms/formsDetail"> 表单管理/表单详情 </router-link></div>
    <div><router-link to="/bpmnProcess"> 流程管理/流程监控 </router-link></div>
    <div><router-link to="/bpmnProcess/bpmnDesign"> 流程管理/流程设计 </router-link></div>
  </div>
</template>
<script setup lang="ts" name="Dashboard">
  import { getTest } from '@/api/main'

  const router = useRouter()

  getTest()
    .then((res) => {
      console.log(res)
    })
    .catch((err) => {})

  const handleOpen = (url: string) => {
    router.push({ path: url })
  }
</script>
<style scoped lang="scss">
  // div {
  //   @apply text-primary;
  // }
</style>
